﻿namespace SoldiHive.Core.Cache
{
	public interface ICache
	{
		bool Enabled { get; }
		
		string Key(params object[] values);
		
		bool Has(string cacheKey);
		
		T Get<T>(string cacheKey);
		
		void Put(string cacheKey, object value);

		void Put(string cacheKey, object value, int cacheLifeSpanDays);
	}
}
